package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.entity.Result;
import com.st.entity.User;
import com.st.entity.UserDto;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

public interface IUserService extends IService<User> {
    //账号登录
    public Result login(UserDto userDto);
    //手机验证码登录
    public Result codeLogin(UserDto userDto);
    //发送短信验证码
    public Result sendCode(String phone);
    //发送图形验证码
    public Result sendPigCode();
    //验证图形验证码
    public Result verifyCode(String code);
    //校验token
    public Result check(String token);
}
